package top.z.intellij.plugin.sciter;

import com.intellij.openapi.fileTypes.LanguageFileType;
import org.jetbrains.annotations.NotNull;

import javax.swing.*;

public final class SciterCssFileType extends LanguageFileType {

    public static final String            extension = "s.css";
    public static final SciterCssFileType INSTANCE  = new SciterCssFileType();

    private SciterCssFileType() {
        super(SciterCssLanguage.INSTANCE);
    }

    @NotNull
    @Override
    public String getName() {
        return "SciterCssFile";
    }

    @NotNull
    @Override
    public String getDescription() {
        return "Sciter css language file";
    }

    @NotNull
    @Override
    public String getDefaultExtension() {
        return SciterCssFileType.extension;
    }

    @Override
    public Icon getIcon() {
        return SciterCssIcons.FILE;
    }

}
